﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace HMS_TabletClient.功能页
{
    public partial class Photos : Form
    {
        public video vd;
        public Photos()
        {
            InitializeComponent();
        }

        private void Photos_Load(object sender, EventArgs e)
        {
           
            vd = new video(pictureBox1.Handle, this.pictureBox1.Left, this.pictureBox1.Top, this.pictureBox1.Width, (short)this.pictureBox1.Height);
            vd.opVideo();
        }

        private void Photos_FormClosed(object sender, FormClosedEventArgs e)
        {
            vd.CloVideo();
        }

    }
}
